<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
	<head>

		<title>Test the 3 column layout</title>

		<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8">
		<meta name="description" content="Stuff">
		<meta name="keywords" content="Stuff">
		<meta name="robots" content="index, follow">

		<link rel="stylesheet" type="text/css" href="css.css" media="screen" />
		
		<!--[if lt IE 7]>
		<style media="screen" type="text/css">
			.col1 {
				width:100%;
			}
		</style>
		<![endif]-->
		
		<script language="JavaScript" type="text/javascript" src="css_edit_new.js" />

	</head>

<body>
<div class="wrapper">

<div id="header">
    <p onclick="insertImg();">Paragraph</p>
    <h1>Header 1</h1>
    <h2>Header 2</h2>
    <ul>
			<li><a href="#">tab</a></li>
			<li><a href="#">tab</a></li>
    </ul>
	<div class="ace" id="ace" onmousedown="startDrag('ace')"></div>
	<p id="layoutdims"><a href='#' onclick='showWindow()'>Click here to show the overlay</a> | Layout Dims | Yes | Tis</p>
	<img src="http://www.tasi.ac.uk/images/photo-sharing-camera.jpg" class="photo" />
</div>
<div id="docdrop" class="colmask holygrail">
    <div class="colmid">
        <div class="colleft">
            <div class="col1wrap">
                <div class="col1">
					<!-- Column 1 start -->
						<h2>Header 2</h2>
						<p>The First Column</p>
					<!-- Column 1 end -->
				</div>
			</div>
			<div class="col2" onclick="hgChangeLeftWidth();">
				<!-- Column 2 start -->
					<h2>Header 2</h2>
					<p>The second column</p>
					<p>Change the width?</a>
				<!-- Column 2 end -->
			</div>
			<div class="col3" onclick="hgChangeRightWidth();">
				<!-- Column 3 start -->
					<h2>Header 2</h2>
					<p>Column 3</p>
					<p>Change the width?</a>
                <!-- Column 3 end -->
            </div>
        </div>
    </div>
</div>
<div class="colmask blogstyle">
    <div class="colmid">
        <div class="colleft">
            <div class="col1wrap">
                <div class="col1">
					<!-- Column 1 start -->
					<h2>Divs versus Classes</h2>
            		<p>There
are two main ways to reference a div or any other HTML element from
your style-sheet, you can use an id (id="idname") or a class
(class="classname") so which one is best? Well the answer is it depends
on what you are trying to do.</p>
            		<p>An id must be
unique, this means you cannot have two elements on the one page with
the same id. So an id is useful for something that never repeats on a
page like a header or footer. Classes don't have to be unique so they
can be used as many times as necessary. A good example of a repeatable
element would be a link style, you can have as many links on a page as
you like and they can all look the same by giving them the same class
name.</p>
            		<h3>Use classes for stackable columns</h3>
            		<p>Because
the columns in this stackable design can be repeated any number of
times we cannot use ids because they would be duplicated. Only classes
allow us to repeat the columns as many times as we like. So please keep
that in mind if you are modifying this design. Of course if your
modified layout does not have repeated columns then you can change some
of the classes back to ids.</p>
            		<!-- Column 1 end -->
                </div>
            </div>
            <div class="col2">
				<!-- Column 2 start -->
                <h2>No Images</h2>
				<p>This
layout requires no images. Many CSS website designs need images to
colour in the column backgrounds but that is not necessary with this
design. Why waste bandwidth and precious HTTP requests when you can do
everything in pure CSS and XHTML?</p>
				<!-- Column 2 end -->
            </div>
            <div class="col3">
				<!-- Column 3 start -->
                <h2>No JavaScript</h2>
				<p>JavaScript
is not required. Some website layouts rely on JavaScript hacks to
resize divs and force elements into place but you won't see any of that
nonsense here.</p>
                <!-- Column 3 end -->
            </div>
        </div>
    </div>
</div>
<div class="colmask leftmenu">
    <div class="colright">
        <div class="col1wrap">
            <div class="col1">
                <!-- Column 2 start -->
                <h2>Full cross-browser support</h2>
				<p>The holy grail 3 column liquid Layout has been tested on the following browsers:</p>

				<h3>iPhone &amp; iPod Touch</h3>
				<ul>
					<li>Safari</li>
				</ul>
				<h3>Mac</h3>
				<ul>
					<li>Safari</li>
					<li>Firefox</li>
					<li>Opera 9.25</li>
					<li>Netscape 9.0.0.5 &amp; 7.1</li>
				</ul>
				<h3>Windows</h3>
				<ul>
					<li>Firefox 1.5 &amp; 2</li>

					<li>Safari</li>
					<li>Opera 8.1 &amp; 9</li>
					<li>Explorer 5.5, 6 &amp; 7</li>
					<li>Netscape 8</li>
				</ul>
                <!-- Column 2 end -->
            </div>
        </div>
        <div class="col2">
            <!-- Column 1 start -->
            <h2>SEO friendly</h2>
            <p>The
higher up content is in your page code, the more important it is
considered by search engine algorithms. To make your website as
optimised as possible your main page content must come before the side
columns. This layout does exactly that: The center page comes first,
then the left column and finally the right column (see the nested div
structure diagram for more info). The columns can also be configured to
any other order if required.</p>
            <!-- Column 1 end -->
        </div>
    </div>
</div>
<div class="colmask rightmenu">
    <div class="colleft">
        <div class="col1wrap">
            <div class="col1">
                <!-- Column 1 start -->
                <h2>Resizable text compatible</h2>
    			<p>This
layout is fully compatible with resizable text. Resizable text is
important for web accessibility. People who are vision impaired can
make the text larger so it's easier for them to read. It is becoming
increasingly more important to make your website resizable text
compatible because people are expecting higher levels of web
accessibility. Apple have made resizing the text on a website simple
with the pinch gesture on their multi-touch trackpad. So far this
trackpad is only available on the MacBook Air but it will soon be
rolled out to all of their systems. Is your website text-resizing
compatible?</p>
				<h2>Valid XHTML strict markup</h2>
				<p>The HTML in this layout validates as XHTML 1.0 strict.</p>
                <!-- Column 1 end -->
            </div>
        </div>
        <div class="col2">
            <!-- Column 2 start -->
            <h2>Free traffic for your website</h2>
            <p>If you use this layout for your website <a href="http://matthewjamestaylor.com/about">send me an email</a>
with the link and any other information you have so I can add you to my
list of example sites. Once I have a few links I'll publish them on my
website and you'll get free traffic!</p>
			<!-- Column 2 end -->
        </div>
    </div>
</div>
<div class="colmask fullpage">
    <div class="col1">
        <!-- Column 1 start -->
        <h2>FREE for anyone to use</h2>
        <p>You
don't have to pay anything. Simply view the source of this page and
save the HTML onto your computer. My only suggestion is to put the CSS
into a separate file. If you are feeling generous however, link back to
this page so other people can find and use this layout too.</p>
        <!-- Column 1 end -->
    </div>
</div>
<div id="footer">
    <p><a href="http://matthewjamestaylor.com/about">Contact me</a> if you have any problems, suggestions or questions about this layout. View more <a href="http://matthewjamestaylor.com/blog/-website-layouts">website layouts</a> and <a href="http://matthewjamestaylor.com/blog/-web-design">web design articles</a>.</p>
</div>

</div>

</body></html>